/**
 *  修改
 */
import Vue from 'vue'
import Router from 'vue-router'
import { constantRouterMap, asyncRouterMap } from '@/config/router.config'

Vue.use(Router)

export default new Router({
  routes: constantRouterMap.concat(asyncRouterMap),
  scrollBehavior: () => ({ y: 0 }),
})
